/**
* <b>Description:</b><br> 
* @author Reading.Reagan</a>
* @version 1.0
* @Note
* <b>ProjectName:</b> setting
* <br><b>PackageName:</b> com.golden.setting.util
* <br><b>ClassName:</b> package-info
* <br><b>Date:</b> 2018年9月18日 下午2:57:04
*/
package com.golden.order02.util;

public enum StatusCode {
	
	ADD_EMPLOYEE_ERROR(6001, "添加失败"),
	
	COPY_ERROR(2002, "复制对象错误"),
	
	GET_EMPLOYEE_ERROR(6003, "获取单个实例失败"),
	
	DELETE_EMPLOYEE_ERROR(6004, "删除失败"),
	
	EDIT_EMPLOYEE_ERROR(6005, "编辑失败"),
	
	QUERY_EMPLOYEE_ERROR(6006, "条件查找失败"),
	
	ADD_EMPLOYEE_POSITION_ERROR(7001, "添加失败"),
	
	DELETE_EMPLOYEE_POSITION_ERROR(7002, "删除失败");
	
	private Integer code;
	
	private String msg;
	
	private StatusCode(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

}